package com.dglg.spring.dao;

import com.dglg.spring.model.Student;
import com.dglg.spring.model.TrainingStudent;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ExcelDao {

    // 添加学生信息
    int addStudent(List<Student> student);

    // 在实训班中添加学生信息
    int addTrainingStu(List<TrainingStudent> trainingStudent);

    // 根据专业获取学号
    List<String> getStudentIdByMajor(@Param("className") String className);
}

